<html>
<body>
Select image file <br />
<form action="/ImageServlet" method="post" enctype="multipart/form-data" >
    <input type="file" name="photoFile" id="photoFile" />
    <input type="submit" value="Upload" />
</form>
</body>
</html>